Population Health Management Process API - Implementation Template
Developer guide
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
Module | Description |
---|---|
Util | A library with needed DataWeave utility functions. |
Util
A library with needed DataWeave utility functions.
Source:
./src/main/resources/dwl/Util.dwl
Functions
fun getFailedMessageString (entry)
Gets a string with any of the failed messages returned in JSON format.
param
entry
is a list of response objects to check for failed responses.
return A string with the failed results or an empty string if there are no failures found.
fun getFailedMessages (entry)
Gets a list of response messages that aren't successful.
param
entry
is a list of response objects to check for failed responses.
return A list of failed responses or an empty list if none found.
fun parseQueryParams (queryParamStr)
Parses a string with URL encoded query params and returns an object with the result.
param
queryParamStr
is a string with the encoded query params.
return An object with the parsed query params.